const isDev = process.env.NODE_ENV === 'development' ? true : false
const publishUrl = 'https://bkycms.com/addons/yb_wm/views/common/template/'
const backendPath = isDev
? publishUrl
: location.href.match(/(\S*)views/)[1] + 'views/common/template/'
module.exports =
{
    "body": {
        "list": [
            {
                "title": "图片轮播",
                "name": "picLunbo",
                "styles": {
                    "marginTop": 0,
                    "marginBottom": 0,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "circle": 0,
                    "height": "700",
                    "imgUrl": [
                        {
                            "img": backendPath+"style6/202108181618448513.jpeg",
                            "url": {
                                "params": "product",
                                "name": {
                                    "sort": "1",
                                    "discountOpen": "2",
                                    "id": "159",
                                    "name": "甜小沫秘制招牌雪媚娘，现在下单立即送2粒",
                                    "icon": backendPath+"style6/202108181731147187.jpg",
                                    "salesNum": 0,
                                    "typePid": "116",
                                    "typeId": null,
                                    "price": "125.00",
                                    "stock": "100",
                                    "isRecommend": "2",
                                    "display": "1",
                                    "maxPrice": "125.00",
                                    "isSpecs": "1",
                                    "storeId": "14",
                                    "isMain": 1,
                                    "category_name": "甜品慕斯",
                                    "media": null
                                },
                                "category": "商品"
                            }
                        },
                        {
                            "img": backendPath+"style6/202108181626347865.jpg",
                            "url": {
                                "params": "productCategory",
                                "name": {
                                    "id": "116",
                                    "customName": "",
                                    "describe": "",
                                    "sort": "1",
                                    "name": "甜品慕斯",
                                    "pid": "0",
                                    "icon": backendPath+"style6/202108181726133689.png",
                                    "display": "1",
                                    "startTime": "",
                                    "endTime": "",
                                    "weekStr": [],
                                    "isRequire": "2",
                                    "timeType": "1",
                                    "children": []
                                },
                                "category": "商品分类"
                            }
                        },
                        {
                            "img": backendPath+"style6/202108181628001668.jpeg",
                            "url": ""
                        }
                    ],
                    "marginLR": 0
                }
            },
            {
                "title": "热区",
                "name": "hot",
                "styles": {
                    "marginTop": 4,
                    "marginBottom": 0,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "circle": 0,
                    "img": backendPath+"style6/202108181720565018.png",
                    "divStyles": [
                        {
                            "width": "340",
                            "height": "357.988",
                            "sX": " 0",
                            "sY": " 0",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"takeOutFood\",\"name\":\"外卖类型\"},\"category\":\"平台首页\"}",
                            "name": "外卖类型"
                        },
                        {
                            "width": "320",
                            "height": "341.992",
                            "sX": " 375",
                            "sY": " 23",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"fastOrder\",\"name\":\"快餐\"},\"category\":\"平台首页\"}",
                            "name": "快餐"
                        },
                        {
                            "width": "367.988",
                            "height": "200",
                            "sX": " -1",
                            "sY": " 374",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"integralShop\",\"name\":\"积分商城\"},\"category\":\"平台首页\"}",
                            "name": "积分商城"
                        },
                        {
                            "width": "347.988",
                            "height": "200",
                            "sX": " 373",
                            "sY": " 380",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"couponCenter\",\"name\":\"领券中心\"},\"category\":\"平台首页\"}",
                            "name": "领券中心"
                        },
                        {
                            "width": "140.996",
                            "height": "130",
                            "sX": " 28",
                            "sY": " 592",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"collectionCourtesy\",\"name\":\"收藏有礼\"},\"category\":\"平台首页\"}",
                            "name": "收藏有礼"
                        },
                        {
                            "width": "166.992",
                            "height": "105.996",
                            "sX": " 182",
                            "sY": " 599",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"exchange\",\"name\":\"兑券入口\"},\"category\":\"平台首页\"}",
                            "name": "兑券入口"
                        },
                        {
                            "width": "150",
                            "height": "103.984",
                            "sX": " 371",
                            "sY": " 604",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"signIndex\",\"name\":\"积分签到\"},\"category\":\"平台首页\"}",
                            "name": "积分签到"
                        },
                        {
                            "width": "140",
                            "height": "103.984",
                            "sX": " 565",
                            "sY": " 612",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"couponCenter\",\"name\":\"领券中心\"},\"category\":\"平台首页\"}",
                            "name": "领券中心"
                        },
                        {
                            "width": "650",
                            "height": "91.9922",
                            "sX": " 33",
                            "sY": " 739",
                            "status": true,
                            "url": "{\"params\":\"platform\",\"name\":{\"id\":\"navigation\",\"name\":\"门店导航\"},\"category\":\"平台首页\"}",
                            "name": "门店导航"
                        }
                    ],
                    "marginLR": 0
                }
            },
            {
                "title": "评价列表",
                "name": "storeEvaluate",
                "styles": {
                    "title": "好评点赞",
                    "marginTop": 0,
                    "marginBottom": 0,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "circle": 0,
                    "marginLR": 9
                }
            },
            {
                "title": "我的余额",
                "name": "myBalance",
                "styles": {
                    "marginTop": 0,
                    "marginBottom": 0,
                    "marginLeft": 0,
                    "marginRight": 0,
                    "circle": 0,
                    "type": 1,
                    "colorBg": "#fff",
                    "upLoad1": {
                        "text": "查看我的会员权益"
                    },
                    "marginLR": 5
                }
            }
        ],
        "pageSetting": [
            {
                "title": "页面设置",
                "name": "nameless",
                "styles": {
                    "modulePage": "2",
                    "colorIcon": "#F5F5F5",
                    "colorBg": "#fff",
                    "moduleTitle": "1",
                    "title": "列表标题",
                    "navTitle": "首页",
                    "img": backendPath+"style6/202012031355454311.jpg",
                    "colorWord": "#333"
                }
            }
        ],
        "susBtn": [
            {
                "title": "悬浮设置",
                "name": "susBtn",
                "status": "0",
                "styles": {
                    "status": 0,
                    "type": "right",
                    "shifting": 600,
                    "imgUrl": [
                        {
                            "img": backendPath+"style6/202102191758077593.png",
                            "url": ""
                        }
                    ]
                }
            }
        ],
        "attention": [
            {
                "title": "关注条",
                "name": "attention",
                "styles": {
                    "status": 0,
                    "img": backendPath+"style6/202011261139576059.png",
                    "text": "点击关注我们哦~"
                }
            }
        ],
        "remind": [
            {
                "title": "下单提醒",
                "name": "remind",
                "styles": {
                    "status": "0",
                    "colorWord": "#fff",
                    "colorBg": "#000",
                    "percent": "80",
                    "shifting": "120",
                    "type": "2",
                    "numberList": [
                        {
                            "img": "",
                            "text": "",
                            "time": ""
                        },
                        {
                            "img": "",
                            "text": "",
                            "time": ""
                        }
                    ]
                }
            }
        ],
        "open": [
            {
                "title": "启动页",
                "name": "open",
                "styles": {
                    "status": "2",
                    "type": "1",
                    "colorBg": "#000",
                    "percent": 30,
                    "imgUrl": [
                        {
                            "img": "",
                            "url": ""
                        }
                    ]
                }
            }
        ],
        "menu": [
            {
                "title": "导航",
                "name": "menu",
                "styles": {
                    "colorSelect": "#333",
                    "colorUnselect": "#999",
                    "colorLine": "#eee",
                    "colorBg": "#fff",
                    "imgUrl": [
                        {
                            "text": "首页",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "index",
                                    "name": "首页"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style6/202108181723068397.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style6/202108181723034590.png"
                                }
                            ]
                        },
                        {
                            "text": "点单",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "goods",
                                    "name": "点单页"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style6/202108181723114866.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style6/202108181723085367.png"
                                }
                            ]
                        },
                        {
                            "text": "订单",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "myOrder",
                                    "name": "我的订单"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style6/202108181723209682.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style6/202108181723149266.png"
                                }
                            ]
                        },
                        {
                            "text": "我的",
                            "url": {
                                "params": "platform",
                                "name": {
                                    "id": "member",
                                    "name": "个人中心"
                                },
                                "category": "平台首页"
                            },
                            "front": [
                                {
                                    "img": backendPath+"style6/202108181724037664.png"
                                }
                            ],
                            "back": [
                                {
                                    "img": backendPath+"style6/202108181723458466.png"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "page": "1",
    "name": "蛋糕店模板"
}
